package com.platform.qujia.constantEnum;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class Constant {

    //立减活动-活动用途-消费
    public static final String REDUCTION_ACTIVITY_USE_CONSUME = "CSP";

    //立减活动-活动用途-充值
    public static final String REDUCTION_ACTIVITY_USE_CHARGE = "RCH";

    //立减活动-活动用途-标签
    public static final String REDUCTION_ACTIVITY_USE_LABEL = "LABEl";

    //立减活动-活动类型-固定金额
    public static final String REDUCTION_ACTIVITY_TYPE_MONEY = "RFA";
    //立减活动-活动类型-固定数量
    public static final String REDUCTION_ACTIVITY_TYPE_QUANTITY = "LOR";
    //立减活动-活动类型-每升立减-按金额
    public static final String REDUCTION_ACTIVITY_TYPE_LITRE = "AAL";
    //立减活动-活动类型-每升立减-按升数
    public static final String REDUCTION_ACTIVITY_TYPE_LITRE_BY_LITRE = "AALL";

    //立减活动-活动方式-定额立减
    public static final String REDUCTION_ACTIVITY_MODE_FIXED = "FAD";
    //立减活动-活动方式-百分比立减
    public static final String REDUCTION_ACTIVITY_MODE_PERCENT = "PAR";
    //立减活动-活动方式-随机立减
    public static final String REDUCTION_ACTIVITY_MODE_RANDOM = "RDD";

    // 立减活动-用户等级-超级用户
    public static final String MEMBER_LEVEL_SUPER = "99";

    public static final String MEMBER_CATEGORY_NEW_USER = "new";

    public static final String MEMBER_CATEGORY_OLD_USER = "old";

    public static final String COUPON_USER_BIZ_TYPE_SUPER_USER = "super_user";

    public static final String COUPON_USER_BIZ_TYPE_SALE_ACTIVITY = "sale_activity";

    public static final String COUPON_USER_BIZ_TYPE_USER_RECOMMEND = "user_recommend";

    public static final Map<String,String> GRADE_MAP = Collections.unmodifiableMap(new HashMap<String,String>(4){{
        put("1","普卡");
        put("2","银卡");
        put("3","金卡");
        put("4","钻卡");
        put("5","黑卡");
    }});

}
